package com.hoyue.classroom.service.impl;

import com.hoyue.classroom.bean.Homework;
import com.hoyue.classroom.dao.HomeworkMapper;
import com.hoyue.classroom.service.HomeworkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Hoyue_network1
 * @version 1.0
 * Creat by 2019/8/21 11:50
 */
@Service
public class HomeworkServiceImpl implements HomeworkService{

	@Resource
	HomeworkMapper homeworkMapper;

	@Override
	public List<Homework> list() {
		return homeworkMapper.list();
	}
}
